package com.atguigu.gulimall.ware.vo;

import com.atguigu.gulimall.ware.entity.PurChaseDetailFinish;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class PurchaseDoneVo {
    @NotNull(message = "采购单id不能为空")
    private Long id;
    @NotEmpty(message = "采购需求不能为空")
    List<PurChaseDetailFinish>items;
}
